<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta charset="utf-8">
    <title>{{title}}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="/statics/layui/css/layui.css" rel="stylesheet">
    <link href="/statics/style.css" rel="stylesheet">
    <link href="/statics/modules/css/main.css" rel="stylesheet">
    <script>var YAK_CONFIG={"BASE_URL":"/statics/modules"}</script>
    {% block style %}{% endblock %}
</head>

<body>

<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo layui-hide-xs layui-bg-black">
            {% include "includes/logo.html" %}
        </div>
        {% include "includes/navbar.html" %}
        {% include "includes/profile.html" %}
    </div>
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            {% include "includes/sidebar.html" %}
        </div>
    </div>
    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div style="padding: 15px;">
            <div class="layui-card layui-panel">
                <div class="layui-card-header">
                    {% block breadcrumb %} {% endblock %}
                </div>
                <div class="layui-card-body">
                    {% block search %} {% endblock %}
                    <!-- 内容主体区域 -->
                    {% block content %} {% endblock %}
                </div>
            </div>
        </div>
    </div>
    <div class="layui-footer">
        <!-- 底部固定区域 -->
        <p>版权所有 © 2020  All Rights Reserved.</p>
    </div>
</div>



<iframe frameborder="0" layui-hide name="yak-iframe"></iframe>

<script src="/statics/layui/layui.js"></script>
<script src="/statics/modules/main.js"></script>
<script src="/statics/view.js"></script>

<script>
    layui.use(['redirect'], function() {
        const redirect = layui.redirect;
        redirect.auto();
    })
</script>
{% block scripts %} {% endblock %}
</body>
</html>